using SqlSugar;

namespace LowCoding.Domain
{
    /// <summary>
    /// 代码表
    /// </summary>
    [SugarTable("BASE_REF_CODES")]
    public class RefCodes
    {
        /// <summary>
        /// 代码类型
        /// </summary>
        [SugarColumn(ColumnName = "RV_DOMAIN")]
        public string RvDomain { get; set; }

        /// <summary>
        /// 企业ID
        /// </summary>
        [SugarColumn(ColumnName = "FLT_ID")]
        public string RvFltId { get; set; }

        /// <summary>
        /// 代码编号
        /// </summary>
        [SugarColumn(ColumnName = "RV_LOW_VALUE")]
        public string RvLowValue { get; set; }

        /// <summary>
        /// 中文名称
        /// </summary>
        [SugarColumn(ColumnName = "RV_CMEANING")]
        public string RvCmeaning { get; set; }

        /// <summary>
        /// 英文名称
        /// </summary>
        [SugarColumn(ColumnName = "RV_EMEANING")]
        public string RvEmeaning { get; set; }

        /// <summary>
        /// 高值
        /// </summary>
        [SugarColumn(ColumnName = "RV_HIGH_VALUE")]
        public string RvHighValue { get; set; }

        /// <summary>
        /// EDI码
        /// </summary>
        [SugarColumn(ColumnName = "RV_EDICODE")]
        public string RvEdicode { get; set; }

        /// <summary>
        /// 有效标志  Y有效  N无效
        /// </summary>
        [SugarColumn(ColumnName = "RV_ISVALID")]
        public string RvIsvalid { get; set; }

        /// <summary>
        /// 缺省值
        /// </summary>
        [SugarColumn(ColumnName = "RV_DEFAULT")]
        public string RvDefault { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnName = "RV_ORDERNO")]
        public string RV_ORDERNO { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "RV_REMARK")]
        public string Remark { get; set; }

        /// <summary>
        /// 新增时间
        /// </summary>
        [SugarColumn(ColumnName = "CREATED", IsOnlyIgnoreUpdate = true)]
        public DateTime? Created { get; set; }

        /// <summary>
        /// 新增人员
        /// </summary>
        [SugarColumn(ColumnName = "CREATOR", IsOnlyIgnoreUpdate = true)]
        public string Creator { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "LASTMODIFIED")]
        public DateTime? Lastmodified { get; set; }

        /// <summary>
        /// 修改人员
        /// </summary>
        [SugarColumn(ColumnName = "LASTMODIFIER")]
        public string Lastmodifier { get; set; }

        /// <summary>
        /// 是否删除(1 为删除  0和空 为 未删除)
        /// </summary>
        [SugarColumn(ColumnName = "ISDEL", IsOnlyIgnoreUpdate = true)]
        public string Isdel { get; set; }

        /// <summary>
        /// 修改次数
        /// </summary>
        [SugarColumn(ColumnName = "VERSION")]
        public int Version { get; set; }

        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
        public string Id { get; set; }
    }
}